package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsSogDao;
import com.appkubes.mall.core.entity.MallGoodsSog;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsSogService extends AbstractBaseService<BaseMallGoodsSogDao, MallGoodsSog> {

    MallGoodsSog getOneByEntity(MallGoodsSog entity);

    List<MallGoodsSog> selectListByEntity(MallGoodsSog entity);

    IPage<MallGoodsSog> selectPageByEntity(IPage<MallGoodsSog> page);
    IPage<MallGoodsSog> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsSog> selectPageByEntity(MallGoodsSog entity, IPage<MallGoodsSog> page);
    IPage<MallGoodsSog> selectPageByEntity(MallGoodsSog entity, PageVO pageVO);

    IPage<MallGoodsSog> selectPageByEntity(MallGoodsSog entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsSog entity);
}
